<?php
include_once ("../Login/databaseconnection.php");
$hint='';
date_default_timezone_set("Europe/Paris");
$t_d=date("Y-m-d");
  $hint='<table><tr><td>Training Name:<select name="Training_Name" id="Training_Name">';
  $hint=$hint.'<option value="Select One">Select One</option>';
 $tra=mysql_query("SELECT DISTINCT(Training_Name) FROM training"); 
  while($row=mysql_fetch_array($tra))
  {
$Tra_Name=$row['Training_Name'];
 $hint=$hint.'<option value="'.$Tra_Name.'">'.$Tra_Name.'</option>';
 }
$hint=$hint.'</select></td><td>';
$hint=$hint."From Date:<input type='text' name='From_Date' class='inputDate2' value='$t_d' id='inputDate2'/></td></tr></table>";
$response=$hint;
$response=$hint;
echo $response;
?>